package com.ruoyi.houses.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.houses.domain.HouseSource;
import com.ruoyi.houses.service.HouseSourceService;
import com.ruoyi.houses.mapper.HouseSourceMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 31439
* @description 针对表【house_source(房源详情表)】的数据库操作Service实现
* @createDate 2025-09-16 15:01:02
*/
@Service
public class HouseSourceServiceImpl extends ServiceImpl<HouseSourceMapper, HouseSource>
    implements HouseSourceService{

    @Autowired
    HouseSourceMapper houseSourceMapper;

    @Override
    public AjaxResult getHouseslist() {
        List<HouseSource> houseSourceList = houseSourceMapper.getHouseslist();
        return AjaxResult.success(houseSourceList);

    }

}




